function creatStore() {
  var state = {};
  var list = [];
  return {
    getState: function (prop) {
      console.log(state[prop]);
    },
    setState: function (prop, value) {
      state[prop] = value;
    },
    subs: function () {},
  };
}
